"""
 A temporary driver to test math files
 Rohit Majumdar
 rohitmaj@usc.edu
"""

# imports
from ArithmeticMathProblem import *
import random

ic = 0
while ic < 10:
	operator = random.randint(0,2)
	a = ArithmeticMathProblem(operator, -10, 10)
	ans = int(raw_input(a.question))
	if ans == a.answer:
		print "Correct!"
	else:
		print "Wrong!"
	ic = ic + 1
